
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>更新页面</title>
</head>
<style>
    .dv{
        border-radius:5px;
        border:2px solid;
        padding:20px 0px 0px 30px;
        width:300px;
        height:229px;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        margin: auto;
        position: fixed;
        background-color:#6495ed;
    }
    body{
        background-color: cyan;
    }
</style>
<body>
<div class="dv">
    <div style="text-align: center"><h3>修改信息</h3></div>
<form method="Post" action="updateServlet">
    <table style="margin-left:10px">
        <tr>
            <td>序号</td>
            <td><input type="hidden" name="id" value="${id}">${id}</td>
        </tr>
        <tr>
            <td>编号</td>
            <td><input type="text" name="no" value="${no}" required/></td>
        </tr>
        <tr>
            <td>名称</td>
            <td><input type="text" name="name" value="${name}" required/></td>
        </tr>
        <tr>
            <td>价格</td>
            <td><input tyep="text" name="price" value="${price}" required/></td>
        </tr>
    </table>
    <input STYLE="margin:20px 0px 0px 115px" type="submit" value="修改">
</form>
</div>
</body>
</html>
